<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Upload new File</title>
</head>
<body>
    <!-- {% with messages = get_flashed_messages() %}
    {% if messages %}
        <ul class="flash">
            {% for message in messages %}
                <div class="alert alert-success" style="text-align: center" style="font-size: large;color: brown;" >
                    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
                    <strong>{{ message }}</strong></div>
            {% endfor %}
        </ul>
    {% endif %}
{% endwith %} -->

<div class="warning">
    {% for message in get_flashed_messages() %}
        <div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<strong>[INFO] </strong> {{ message }}
</div>
    {% endfor %}
</div>





<h1>Upload new File</h1>
    <form action="/upload/" method=post enctype=multipart/form-data>
      <p>File：<input type=file name=filename> </p>
       <p> Rename：<input type=text name=file> </p>
        <br>
         <p>      <input type=submit value=Upload> </p>
    </form>

</body>
</html>